Skip to content

[CodeQuality] Skip first class callable on DecorateWillReturnMapWithExpectsMockRector#654

Merged
samsonasik merged 3 commits intomainfrom
skip-first-c
Feb 7, 2026
Merged

[CodeQuality] Skip first class callable on DecorateWillReturnMapWithExpectsMockRector#654
samsonasik merged 3 commits intomainfrom
skip-first-c

Conversation

@samsonasik
Copy link
Member

Avoid crash:

There was 1 failure:

1) Rector\PHPUnit\Tests\CodeQuality\Rector\Expression\DecorateWillReturnMapWithExpectsMockRector\DecorateWillReturnMapWithExpectsMockRectorTest::test with data set #2 ('/Users/samsonasik/www/rector-...hp.inc')
assert(!$this->isFirstClassCallable())

/Users/samsonasik/www/rector-phpunit/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/CallLike.php:32
/Users/samsonasik/www/rector-phpunit/rules/CodeQuality/Rector/Expression/DecorateWillReturnMapWithExpectsMockRector.php:112

@samsonasik
Copy link
Member Author

All green 🎉 @TomasVotruba I am merging it ;)

@samsonasik samsonasik merged commit 5eee71e into main Feb 7, 2026
7 checks passed
@samsonasik samsonasik deleted the skip-first-c branch February 7, 2026 13:48
@TomasVotruba
Copy link
Member

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants